package com.zjitc.service;

import com.zjitc.pojo.Page;
import com.zjitc.pojo.Product;

import java.util.List;

public interface ShopService {
    List<Product> queryProductAll(Page page);

    Product queryProductById(int id);

    List<Product> queryProductByName(String name);

    int queryProductTotal();

    Page getPage();
}
